package com.woniuxy.enjoylife.service.impl;


import com.woniuxy.enjoylife.entity.Server_type;
import com.woniuxy.enjoylife.mapper.Server_typeMapper;
import com.woniuxy.enjoylife.service.Server_typeService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author teamEnjoyLife75
 * @since 2021-01-20
 */
@Service
public class Server_typeServiceImpl extends ServiceImpl<Server_typeMapper, Server_type> implements Server_typeService {

    @Resource
    private Server_typeMapper stm;

    //获取所有服务分类
    @Override
    public List<Server_type> selectServerType() {
        return  stm.select(new Server_type());
    }



}
